﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace Apps.Models
{
    public partial class HC_FIELD_REFERENCE_VALUE
    {
        [SugarColumn(IsPrimaryKey = true)]
        public string ID { get; set; }

        /// <summary>
        /// 扩展字段ID
        /// </summary>
        public string EXTENDFIELDID { get; set; }
        /// <summary>
        /// 基值(基值也有部分值为区间，用~分开，如(1.5~2))
        /// </summary>
        public string BASEVALUE { get; set; }
        /// <summary>
        /// 基值下限
        /// </summary>
        public decimal MINVALUE { get; set; }
        /// <summary>
        /// 基值上限
        /// </summary>
        public decimal MAXVALUE { get; set; }
        public string ADDUSER { get; set; }
        public DateTime ADDTIME { get; set; }
        public string EDITUSER { get; set; }
        public DateTime EDITTIME { get; set; }
    }

    public partial class FIELD_REFERENCE_VALUE
    {
        public string EXTENDFIELDID { get; set; }

        /// <summary>
        /// 列名
        /// </summary>
        public string NAME { get; set; }

        /// <summary>
        /// 标题显示
        /// </summary>
        public string TITLE { get; set; }

        public string VALUEID { get; set; }

        /// <summary>
        /// 基值(基值也有部分值为区间，用~分开，如(1.5~2))
        /// </summary>
        public string BASEVALUE { get; set; }
        /// <summary>
        /// 基值下限
        /// </summary>
        public decimal MINVALUE { get; set; }
        /// <summary>
        /// 基值上限
        /// </summary>
        public decimal MAXVALUE { get; set; }
    }

    public partial class REFERENCE_VALUE
    {
        public string ID { get; set; }
        /// <summary>
        /// 基值(基值也有部分值为区间，用~分开，如(1.5~2))
        /// </summary>
        public string BASEVALUE { get; set; }
        /// <summary>
        /// 基值下限
        /// </summary>
        public decimal MINVALUE { get; set; }
        /// <summary>
        /// 基值上限
        /// </summary>
        public decimal MAXVALUE { get; set; }
    }

    public partial class inserted_REFERENCE_VALUE
    {
        public List<REFERENCE_VALUE> inserted { get; set; }
    }
    public partial class updated_REFERENCE_VALUE
    {
        public List<REFERENCE_VALUE> updated { get; set; }
    }

    /// <summary>
    /// 扩展新增、修改实体
    /// </summary>
    public partial class EXTENDFIELD_REFERENCEVALUE
    {
        public string ID { get; set; }

        /// <summary>
        /// 列名
        /// </summary>
        public string NAME { get; set; }

        /// <summary>
        /// 标题显示
        /// </summary>
        public string TITLE { get; set; }

        public int CONTROL_TYPE { get; set; } 
        public int SORT { get; set; }
        public string REMARK { get; set; }
        public int ENABLE { get; set; }
        public int IS_REQUIRED { get; set; }
        public string ReferenceValues { get; set; }
    }
}
